﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

using My.ELibrary.Model.News;
using My.ELibrary.Business.News;

public partial class News_UC_UC_Article : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            List<ElibNewsModel> elibList = new List<ElibNewsModel>();
            elibList = ElibNewsBLL.GetInstance().GetNewsList(1,8);
            this.DataList1.DataSource = elibList;
            this.DataList1.DataBind();
        }
    }
}
